.bh-switch{
	display: inline-flex;
    align-items: center;
    position: relative;
    font-size: 14px;
    line-height: 20px;
    height: 20px;
    vertical-align: middle;
}
.bh-switch .bh-switch__input{
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
	margin: 0;
}
.bh-switch .bh-switch__core{
	margin: 0;
    display: inline-block;
    position: relative;
    width: 40px;
    height: 20px;
    border: 1px solid #dcdfe6;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background: #dcdfe6;
    cursor: pointer;
    transition: border-color .3s,background-color .3s;
    vertical-align: middle;
}
.bh-switch .bh-switch__core:after{
	content: "";
	position: absolute;
	top: 1px;
	left: 1px;
	border-radius: 100%;
	transition: all .3s;
	width: 16px;
	height: 16px;
	background-color: #fff;
}
.bh-switch.is-checked .bh-switch__core:after{
	left: 100%;
    margin-left: -17px;
}
.bh-switch.is-checked .bh-switch__core {
    border-color: #409eff;
    background-color: #409eff;
}
.bh-switch.is-disabled {
    opacity: .6;
}
.bh-switch.is-disabled .bh-switch__core, .bh-switch.is-disabled .bh-switch__label {
    cursor: not-allowed;
}

/*文字描述*/
.bh-switch__label {
    transition: .2s;
    height: 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    vertical-align: middle;
    color: #303133;
}
.bh-switch__label--left {
    margin-right: 10px;
}
.bh-switch__label--right {
    margin-left: 10px;
}
.bh-switch__label.is-active {
    color: #409eff;
}